package com.qianqian.service.mapper;

import com.qianqian.service.model.GameResult;
import com.qianqian.service.model.GameResultExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GameResultMapper {
    long countByExample(GameResultExample example);

    int deleteByExample(GameResultExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GameResult record);

    int insertSelective(GameResult record);

    List<GameResult> selectByExample(GameResultExample example);

    GameResult selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GameResult record, @Param("example") GameResultExample example);

    int updateByExample(@Param("record") GameResult record, @Param("example") GameResultExample example);

    int updateByPrimaryKeySelective(GameResult record);

    int updateByPrimaryKey(GameResult record);

    //自定义

    GameResult selectNewGameNumber();

    GameResult selectByGameNumber(Integer id);

    List<GameResult> selectNewSceneGameResults();

}